//
// ModelInstance.h
//

#include "Common.h"

class ModelInstance
{
public:
    friend class Scene;

    ModelInstance()
    {
        _model = NULL;
    }

	//void deleteModel();
    void Render();

	Vec3f GetModelCenterInWorldCoords();

	string GetModelId();

	Vec3f GetBoundingBoxMin();
	Vec3f GetBoundingBoxMax();

private:
    Model *_model;
	string _modelId;
	Matrix4 _transform;
    
    //ModelInstance *_parent;
    //std::vector<ModelInstance*> _children;
};
